/**
 * Created by lihongbo on 2017/10/17.
 */

var mutations = {
  updateLoadingStatus (state, payload) {
    state.isLoading = payload.isLoading
  },
  updateHid(state, payload) {
    state.hid = payload.hid
    state.name = payload.name
  },
  changeLoading(state, val) {
  	state.isLoading = val;
  }
};

export default mutations;
